








<div class="x-body">
    <div class="layui-row">

    </div>
    <xblock>

        <!--<ob_link> <button class="layui-btn layui-btn-danger"><a class="confirm ajax-post" value="{$Think.DATA_DELETE}"  href="{:url('setStatus')}"><i class="layui-icon"></i>批量删除</a></button></ob_link>-->
        <button class="layui-btn " ><ob_link><a  href="{:url('versionAdd')}" style="color: white"> 新 增</a></ob_link></button>
        <!--<span class="x-right" style="line-height:40px">共有数据：<?php echo count($list); ?> 条</span>-->
    </xblock>
    <table class="layui-table x-admin ">
        <thead>
        <tr>
            <!--<th>-->
            <!--<div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>-->
            <!--</th>-->
            <!--<th class="checkbox-select-all">-->
            <!--<label>-->
            <!--<input class="flat-grey js-checkbox-all" type="checkbox">-->
            <!--</label>-->
            <!--</th>-->
            <th>序号</th>
            <th>标题</th>
            <th>版本号</th>
            <th>是否可用</th>
            <th>安卓下载链接</th>
            <th>ios下载链接</th>
            <th>发布时间</th>
            <th>操作</th>
        </thead>
        {notempty name='list'}
        <tbody>
        {volist name='list' id='vo' key="k"}
        <tr>

            <!--<td>-->
            <!--<label>-->
            <!--<input class="flat-grey" type="checkbox" name="ids" value="{$vo.id}">-->
            <!--</label>-->
            <!--</td>-->
            <td>{$k}</td>
            <td>{$vo.title}</td>
            <td>{$vo.version}</td>
            <td>{eq name="vo.is_enable" value="1"}可用{else/}不可用{/eq}</td>
            <td>{$vo.download_url}</td>
            <td>{$vo.download_url_ios}</td>
            <td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>
            <td class="td-manage">
                <!--<a onclick="member_stop(this,'10001')" href="javascript:;"  title="启用">-->
                <!--<i class="layui-icon">&#xe601;</i>-->
                <!--</a>-->
                <ob_link><a title="编辑"  href="{:url('versionEdit', array('id' => $vo['id']))}" >
                    <i class="layui-icon">&#xe642;</i>
                </a></ob_link>
                <ob_link><a title="删 除" class="ajax-get"  href="{:url('setStatus', array('ids' => $vo['id'], 'status' => $Think.DATA_DELETE))}" >
                    <i class="layui-icon">&#xe640;</i>
                </a></ob_link>

            </td>
        </tr>
        {/volist}
        {else/}
        <tbody><tr class="odd"><td colspan="12" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
        {/notempty}

        </tbody>
    </table>


</div>


</body>

</html>


